<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page import="java.util.Vector,com.ejoysoft.wlanyz.business.ThreeNet,com.ejoysoft.common.exception.IdObjectException,java.util.ArrayList,com.ejoysoft.common.Constants,com.ejoysoft.wlanyz.system.SysUserUnit,com.ejoysoft.common.exception.NoRightException" %>
<%@ include file="../include/jsp/head.jsp"%>
<%
if(!globa.userSession.hasRight("10035"))
      throw new NoRightException("用户不具备操作该功能模块的权限，请与系统管理员联系！");
%>

<% 
    //初始化
    ThreeNet  threeNet=null;
    ThreeNet obj=new ThreeNet(globa);
    //拿到转过来的城市名
    String  neicomm ="";
    String  strNeiCommunityId = ParamUtil.getString(request,"strNeiCommunityId","");
    
    //System.out.println("1111111{{{}}}111111"+strNeiCommunityId);
	//if(strNeiCommunityId==null||strNeiCommunityId.equals("null"))
    	//throw new IdObjectException("该热点不存在相邻小区！");
	Vector<ThreeNet> vctObj=obj.list2(strNeiCommunityId);
	//获取当前页的记录条数
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><%=application.getAttribute("APP_TITLE")%></title> 
<link href="../css/main.css" rel="stylesheet" type="text/css" />
<script src="../jquerytable/Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
<script src="../include/DatePicker/WdatePicker.js"></script>
<script language="JavaScript" src="../include/date/popc.js"></script>
<script src="../include/js/list.js"></script>
<script language="javascript">


//导出数据
function export_sbm(page){ 
  frm.action="comm_export.jsp";
  document.getElementById("exportContent").value = page;
  frm.submit();
 }

</script>
<style>
.tab1{ width:123px; height:27px; background:url(../images/tab_1.jpg); color:#a94602; text-align:center; line-height:25px; font-weight:bolder}
.tab3{ width:123px; height:27px; background:url(../images/tab_1.jpg); color:#a94602; text-align:center; line-height:25px; font-weight:bolder}
.tab2{ width:123px; height:27px; background:url(../images/tab_2.jpg); color:#666666; text-align:center;line-height:25px;line-height:26px;  border-right:1px solid #32a4ea; line-height:26px;}

A {text-decoration: NONE} 
</style>
</head>


<body  >
<form id=frm name="frm" method=post action="neicommunity.jsp"> 
<input id="exportFlag" name="exportFlag" type="hidden" value="exportResult"/>
<input id="exportContent" name="exportContent" type="hidden" value=""/>
<input id="strNeiCommunityId" name="strNeiCommunityId" type="hidden" value="<%=strNeiCommunityId %>"/>
<table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30"><img src="../images/ri_list.jpg" width="14" height="14" align="absbottom" />&nbsp;您现在所在的位置：<font color="#0e7cc9">三网对比分析</font> &gt; 三网指标对比分析&gt;查看相邻小区</td>
  </tr>
</table>


<table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">
 
  <tr>
    <td width="8%" class="listtit">地市</td>
    <td width="8%" class="listtit">区县</td>
    <td width="10%" class="listtit">小区名称</td>
    <td width="8%" class="listtit">网络类型</td>
    <td width="8%" class="listtit">LAC</td>
    <td width="8%" class="listtit">CI</td>
    <td width="8%" class="listtit">测试时间</td>
    
  </tr>
    <%
            
              for (int i = 0;i < vctObj.size(); i++) {
              String city = "";
              String town = "";
              String dtDate = "";//测试时间
              String name = "";//小区名称
              String nettype = "";//网络类型
              String LAC = "";//小区区号
              String CI = "";//ci
              
              
		             int value;//指标值
            	ThreeNet obj1 = vctObj.get(i);
            	if(obj1.getStrCity()!=null)city=obj1.getStrCity();
            	if(obj1.getStrTown()!=null)town=obj1.getStrTown();
            	if(obj1.getStrSiteType()!=null)nettype=obj1.getStrSiteType();
            	if(obj1.getDtCreateDate()!=null)dtDate=obj1.getDtCreateDate();
            	if(obj1.getStrLac()!=null)LAC=obj1.getStrLac();
            	if(obj1.getStrCommunityId()!=null)CI=obj1.getStrCommunityId();
            	if(obj1.getStrSiteName()!=null) name=obj1.getStrSiteName();
            	
            %>

  <tr>
    <td class="listd1" style="border-left:1px solid #dddddd;"> <%=city %>&nbsp;</td>
    <td class="listd1"><%=town %>&nbsp;</td>
    <td class="listd1"><%=name %>&nbsp;</td>
    <td class="listd1"><%=nettype %>&nbsp;</td>
    <td class="listd1"><%=LAC %>&nbsp;</td>
    <td class="listd1"><%=CI %>&nbsp;</td>
    <td class="listd1" style="border-right:1px solid #dddddd;"><%=dtDate %>&nbsp;</td>

   </tr>
             <%
            }
            %>
</table>

<table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
     <td width="61%" height="50" valign="bottom">
      <img src="../images/dc.jpg" width="92" height="27" align="absmiddle" onclick="export_sbm('currentPage')" style="cursor:hand"/>&nbsp;
      <input name="B12" type="button"  onclick="window.location.href='acresults_list.jsp';" value="返 回" class="ipt2" style="cursor:hand"/></td>
    <td width="39%" align="right" valign="bottom">            <!-- 翻页开始 -->  
       	<!-- 翻页结束 --> </td>
  </tr>
</table>




 </form>
</body>
</html>
<%@ include file="../include/jsp/footer.jsp"%>